package jrain.utils.ch;

public class CharUtils {

	public static final boolean isWhitespace(char ch) {
		return Character.isWhitespace(ch);
	}
	
	public static final boolean isVar(char ch) {
		boolean b = ch >= 'a' && ch <= 'z';
		b = b || (ch >= 'A' && ch <= 'Z');
		b = b || (ch >= '0' && ch <= '9');
		b = b || (ch == '_');
		return b;
	}

	public static final boolean isVarFirst(char ch) {
		boolean b = ch >= 'a' && ch <= 'z';
		return b;
	}
}
